package com.laker.admin.module.comm.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.laker.admin.module.comm.entity.CommType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;

import java.io.Serializable;
import java.util.Collection;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author laker
 * @since 2024-03-20
 */
public interface CommTypeMapper extends BaseMapper<CommType> {
    @Override
    <E extends IPage<CommType>> E selectPage(E page, @Param(Constants.WRAPPER) Wrapper<CommType> ew);

    @Override
    int deleteById(@Param("id") Serializable id);

    @Override
    int deleteBatchIds(@Param("idList") Collection<? extends Serializable> idList);
}
